package com.se.xb.entity;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;


@Data
public class User {
  private Long id;
  private String username;
  private String password;
  private String email;
  private String qqOpenid;
  private String wxOpenid;
  private String realName;
  private Long age;
  private String phone;
  private String gender;
  private String info;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss") // 指定日期时间格式
  private Date registerTime;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss") // 指定日期时间格式
  private Date loginTime;
  private String pic;
  private Long look;
  private String isSecret;
  private String deptName;
  private Long deptId;
}
